<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath::color3&lt; T &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.05</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegbmath.html">gbmath</a></li><li class="navelem"><a class="el" href="structgbmath_1_1color3.html">color3</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="structgbmath_1_1color3-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gbmath::color3&lt; T &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>template <a class="el" href="structgbmath_1_1color3.html" title="template color3 ">color3</a>  
 <a href="structgbmath_1_1color3.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="color3_8h_source.html">color3.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2f1fbf3183e0d3c1a3db76cbc34aeb25"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a2f1fbf3183e0d3c1a3db76cbc34aeb25">color3</a> ()</td></tr>
<tr class="separator:a2f1fbf3183e0d3c1a3db76cbc34aeb25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34b32e45b126d2e6de8c19ce4dd21cba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a34b32e45b126d2e6de8c19ce4dd21cba">color3</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:a34b32e45b126d2e6de8c19ce4dd21cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c0b9e287cb5bc81ed2e04ca5290e58f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a6c0b9e287cb5bc81ed2e04ca5290e58f">color3</a> (T _r, T _g, T _b)</td></tr>
<tr class="separator:a6c0b9e287cb5bc81ed2e04ca5290e58f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d8811d51d1768f4fe6683e188e517fe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a0d8811d51d1768f4fe6683e188e517fe">operator T *</a> ()</td></tr>
<tr class="separator:a0d8811d51d1768f4fe6683e188e517fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7b7f14c14a6428351b0b8a04715f343"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ac7b7f14c14a6428351b0b8a04715f343">operator const T *</a> () const </td></tr>
<tr class="separator:ac7b7f14c14a6428351b0b8a04715f343"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cc68ffcd44ceeb31433eea91f53740e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a1cc68ffcd44ceeb31433eea91f53740e">operator==</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c) const </td></tr>
<tr class="separator:a1cc68ffcd44ceeb31433eea91f53740e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e4878f69e4655800fb7493b9ecc981a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a4e4878f69e4655800fb7493b9ecc981a">operator!=</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c) const </td></tr>
<tr class="separator:a4e4878f69e4655800fb7493b9ecc981a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2d984c3c712c147b8df3b9652757fe4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ae2d984c3c712c147b8df3b9652757fe4">operator*=</a> (const T s)</td></tr>
<tr class="separator:ae2d984c3c712c147b8df3b9652757fe4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae56899e19400d4741fbc6fb2d1dde85e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ae56899e19400d4741fbc6fb2d1dde85e">operator*=</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:ae56899e19400d4741fbc6fb2d1dde85e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a942cfa54326c7bac46355fc0e454315e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a942cfa54326c7bac46355fc0e454315e">operator/=</a> (const T s)</td></tr>
<tr class="separator:a942cfa54326c7bac46355fc0e454315e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d62223e4f1520567b797437cc69ec5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a9d62223e4f1520567b797437cc69ec5d">operator/=</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:a9d62223e4f1520567b797437cc69ec5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac88b40c4448447617c67f6b9cde574dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ac88b40c4448447617c67f6b9cde574dc">operator+=</a> (const T s)</td></tr>
<tr class="separator:ac88b40c4448447617c67f6b9cde574dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a570fafea4fedb97adc1f977515457f1f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a570fafea4fedb97adc1f977515457f1f">operator+=</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:a570fafea4fedb97adc1f977515457f1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb7970e88b01847bab4d96e8d811a43c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#abb7970e88b01847bab4d96e8d811a43c">operator-=</a> (const T s)</td></tr>
<tr class="separator:abb7970e88b01847bab4d96e8d811a43c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44de6fa43fd322c87f0a7f540cd3caa7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a44de6fa43fd322c87f0a7f540cd3caa7">operator-=</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:a44de6fa43fd322c87f0a7f540cd3caa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bba711e1340a9107c04eb349112f0d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a5bba711e1340a9107c04eb349112f0d0">operator+</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c) const </td></tr>
<tr class="separator:a5bba711e1340a9107c04eb349112f0d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6bfef16d36e7a688d5dad771d773500"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ac6bfef16d36e7a688d5dad771d773500">operator+</a> (const T f) const </td></tr>
<tr class="separator:ac6bfef16d36e7a688d5dad771d773500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0b252940b3900cbc4f4c8a22a002362"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#af0b252940b3900cbc4f4c8a22a002362">operator-</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c) const </td></tr>
<tr class="separator:af0b252940b3900cbc4f4c8a22a002362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76b35ec952dd577d419fb0e54f170459"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a76b35ec952dd577d419fb0e54f170459">operator-</a> (const T f) const </td></tr>
<tr class="separator:a76b35ec952dd577d419fb0e54f170459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5a8957d4d2d8980c16e32fdd5b539eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#aa5a8957d4d2d8980c16e32fdd5b539eb">operator/</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c) const </td></tr>
<tr class="separator:aa5a8957d4d2d8980c16e32fdd5b539eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8cac835bfcef678ac37d72f28745e29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ad8cac835bfcef678ac37d72f28745e29">operator/</a> (const T f) const </td></tr>
<tr class="separator:ad8cac835bfcef678ac37d72f28745e29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02b2bf91697969fb61af8450da3ead10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a02b2bf91697969fb61af8450da3ead10">operator*</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c) const </td></tr>
<tr class="separator:a02b2bf91697969fb61af8450da3ead10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af29ce76fdeeb2fd4e971b9af7fe9c69b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#af29ce76fdeeb2fd4e971b9af7fe9c69b">operator*</a> (const T f) const </td></tr>
<tr class="separator:af29ce76fdeeb2fd4e971b9af7fe9c69b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f3d21d40412ca5e62fb8a492bbc4de4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a5f3d21d40412ca5e62fb8a492bbc4de4">init</a> (T _r, T _g, T _b)</td></tr>
<tr class="separator:a5f3d21d40412ca5e62fb8a492bbc4de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c39bd07a259f56fd1e70db43da23a26"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a4c39bd07a259f56fd1e70db43da23a26">empty</a> () const </td></tr>
<tr class="memdesc:a4c39bd07a259f56fd1e70db43da23a26"><td class="mdescLeft">&#160;</td><td class="mdescRight">проверка каждый компонент ноль : XXX ????? need replace : is_zero.  <a href="#a4c39bd07a259f56fd1e70db43da23a26">More...</a><br/></td></tr>
<tr class="separator:a4c39bd07a259f56fd1e70db43da23a26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fd6496299a47a1cc4ce055ef0da435a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a4fd6496299a47a1cc4ce055ef0da435a">setzero</a> ()</td></tr>
<tr class="memdesc:a4fd6496299a47a1cc4ce055ef0da435a"><td class="mdescLeft">&#160;</td><td class="mdescRight">занулить каждый компонент. need: set_zero.  <a href="#a4fd6496299a47a1cc4ce055ef0da435a">More...</a><br/></td></tr>
<tr class="separator:a4fd6496299a47a1cc4ce055ef0da435a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef5839930b2b97d9a01fe1fa0a0ec94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a0ef5839930b2b97d9a01fe1fa0a0ec94">lerp</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c, const T k) const </td></tr>
<tr class="memdesc:a0ef5839930b2b97d9a01fe1fa0a0ec94"><td class="mdescLeft">&#160;</td><td class="mdescRight">линейная интерполяция между this и color по коэф. k.  <a href="#a0ef5839930b2b97d9a01fe1fa0a0ec94">More...</a><br/></td></tr>
<tr class="separator:a0ef5839930b2b97d9a01fe1fa0a0ec94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f344e8cdc958e026e742ba8455f540"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a49f344e8cdc958e026e742ba8455f540">modulate</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;color)</td></tr>
<tr class="memdesc:a49f344e8cdc958e026e742ba8455f540"><td class="mdescLeft">&#160;</td><td class="mdescRight">Масштабирование цвета. Изменение яркости.  <a href="#a49f344e8cdc958e026e742ba8455f540">More...</a><br/></td></tr>
<tr class="separator:a49f344e8cdc958e026e742ba8455f540"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2776f30654b796160a27c5193bc65ce2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a2776f30654b796160a27c5193bc65ce2">modulated</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c) const </td></tr>
<tr class="memdesc:a2776f30654b796160a27c5193bc65ce2"><td class="mdescLeft">&#160;</td><td class="mdescRight">вернутб масштабирование цвета. Изменение яркости.  <a href="#a2776f30654b796160a27c5193bc65ce2">More...</a><br/></td></tr>
<tr class="separator:a2776f30654b796160a27c5193bc65ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ca7256b258bd17d1b467df3cfb0c61f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a3ca7256b258bd17d1b467df3cfb0c61f">negative</a> ()</td></tr>
<tr class="memdesc:a3ca7256b258bd17d1b467df3cfb0c61f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Негатив.  <a href="#a3ca7256b258bd17d1b467df3cfb0c61f">More...</a><br/></td></tr>
<tr class="separator:a3ca7256b258bd17d1b467df3cfb0c61f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d28dbaf533e4045d28d2e57b44152bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a4d28dbaf533e4045d28d2e57b44152bc">negatived</a> () const </td></tr>
<tr class="memdesc:a4d28dbaf533e4045d28d2e57b44152bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Негатив.  <a href="#a4d28dbaf533e4045d28d2e57b44152bc">More...</a><br/></td></tr>
<tr class="separator:a4d28dbaf533e4045d28d2e57b44152bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a543c746acb41530eb150b7e348aa9348"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a543c746acb41530eb150b7e348aa9348">saturate</a> ()</td></tr>
<tr class="memdesc:a543c746acb41530eb150b7e348aa9348"><td class="mdescLeft">&#160;</td><td class="mdescRight">Отсечение значений в пределах 0.0 ... 1.0.  <a href="#a543c746acb41530eb150b7e348aa9348">More...</a><br/></td></tr>
<tr class="separator:a543c746acb41530eb150b7e348aa9348"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa4e278848eb292a5dc1e09786e71756"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#afa4e278848eb292a5dc1e09786e71756">saturated</a> () const </td></tr>
<tr class="memdesc:afa4e278848eb292a5dc1e09786e71756"><td class="mdescLeft">&#160;</td><td class="mdescRight">Отсечение значений в пределах 0.0 ... 1.0.  <a href="#afa4e278848eb292a5dc1e09786e71756">More...</a><br/></td></tr>
<tr class="separator:afa4e278848eb292a5dc1e09786e71756"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeec1a85bb7d4242416f72cd7f9d31644"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#aeec1a85bb7d4242416f72cd7f9d31644">average</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="memdesc:aeec1a85bb7d4242416f72cd7f9d31644"><td class="mdescLeft">&#160;</td><td class="mdescRight">Установить как средний цвет между this и col .  <a href="#aeec1a85bb7d4242416f72cd7f9d31644">More...</a><br/></td></tr>
<tr class="separator:aeec1a85bb7d4242416f72cd7f9d31644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a155f2664526866a926ffac4f2e5379bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a155f2664526866a926ffac4f2e5379bf">averaged</a> (const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;col) const </td></tr>
<tr class="memdesc:a155f2664526866a926ffac4f2e5379bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">как средний цвет между this и col .  <a href="#a155f2664526866a926ffac4f2e5379bf">More...</a><br/></td></tr>
<tr class="separator:a155f2664526866a926ffac4f2e5379bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfe647fb8f2067f3ccdfd4f927030a29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#abfe647fb8f2067f3ccdfd4f927030a29">adjust_contrast</a> (const T k)</td></tr>
<tr class="memdesc:abfe647fb8f2067f3ccdfd4f927030a29"><td class="mdescLeft">&#160;</td><td class="mdescRight">изменить контраст  <a href="#abfe647fb8f2067f3ccdfd4f927030a29">More...</a><br/></td></tr>
<tr class="separator:abfe647fb8f2067f3ccdfd4f927030a29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad187aba58460419d2c674079d035c8c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ad187aba58460419d2c674079d035c8c2">adjusted_contrast</a> (const T k) const </td></tr>
<tr class="memdesc:ad187aba58460419d2c674079d035c8c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">получить цвет с изменённым контрастом  <a href="#ad187aba58460419d2c674079d035c8c2">More...</a><br/></td></tr>
<tr class="separator:ad187aba58460419d2c674079d035c8c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5e570f861819fc2824df3d8542351c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ad5e570f861819fc2824df3d8542351c5">adjust_saturation</a> (const T k)</td></tr>
<tr class="memdesc:ad5e570f861819fc2824df3d8542351c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">изменить насыщенность  <a href="#ad5e570f861819fc2824df3d8542351c5">More...</a><br/></td></tr>
<tr class="separator:ad5e570f861819fc2824df3d8542351c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab28ec14ca277bd96c8a79ac2f3da9b54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#ab28ec14ca277bd96c8a79ac2f3da9b54">adjusted_saturation</a> (const T k) const </td></tr>
<tr class="separator:ab28ec14ca277bd96c8a79ac2f3da9b54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78354657610648fc4727048752de562d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a78354657610648fc4727048752de562d">set_white</a> ()</td></tr>
<tr class="memdesc:a78354657610648fc4727048752de562d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Установить белый цвет  <a href="#a78354657610648fc4727048752de562d">More...</a><br/></td></tr>
<tr class="separator:a78354657610648fc4727048752de562d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b6a5d87e95599017b898b4698a92325"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a6b6a5d87e95599017b898b4698a92325">set_black</a> ()</td></tr>
<tr class="memdesc:a6b6a5d87e95599017b898b4698a92325"><td class="mdescLeft">&#160;</td><td class="mdescRight">Установить чёрный цвет  <a href="#a6b6a5d87e95599017b898b4698a92325">More...</a><br/></td></tr>
<tr class="separator:a6b6a5d87e95599017b898b4698a92325"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4334237f7470c37229a375a83c52b733"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a4334237f7470c37229a375a83c52b733">r</a></td></tr>
<tr class="separator:a4334237f7470c37229a375a83c52b733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4769e1d5eb6b0c5ed75e404643c3c105"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a4769e1d5eb6b0c5ed75e404643c3c105">g</a></td></tr>
<tr class="separator:a4769e1d5eb6b0c5ed75e404643c3c105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fa2594b4bbebc4efea2831bf88dd70a"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a1fa2594b4bbebc4efea2831bf88dd70a">b</a></td></tr>
<tr class="separator:a1fa2594b4bbebc4efea2831bf88dd70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a4c1cab73bff15832c70615131920db78"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a4c1cab73bff15832c70615131920db78">operator&lt;&lt;</a> (std::ostream &amp;stream, const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:a4c1cab73bff15832c70615131920db78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc414cead420f96754819749e9dcfbc1"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#acc414cead420f96754819749e9dcfbc1">operator&gt;&gt;</a> (std::istream &amp;stream, const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:acc414cead420f96754819749e9dcfbc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b564994aff511874731f2dfd3e4ce3b"><td class="memItemLeft" align="right" valign="top">std::ostringstream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a3b564994aff511874731f2dfd3e4ce3b">operator&lt;&lt;</a> (std::ostringstream &amp;stream, const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)</td></tr>
<tr class="separator:a3b564994aff511874731f2dfd3e4ce3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47bc9019c5f5757fdd129da04508929b"><td class="memItemLeft" align="right" valign="top">std::stringstream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3.html#a47bc9019c5f5757fdd129da04508929b">operator&gt;&gt;</a> (std::stringstream &amp;stream, <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;c)  throw (std::invalid_argument)</td></tr>
<tr class="separator:a47bc9019c5f5757fdd129da04508929b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br/>
struct gbmath::color3&lt; T &gt;</h3>

<p>template <a class="el" href="structgbmath_1_1color3.html" title="template color3 ">color3</a> </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00019">19</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2f1fbf3183e0d3c1a3db76cbc34aeb25"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::<a class="el" href="structgbmath_1_1color3.html">color3</a> </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00024">24</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a34b32e45b126d2e6de8c19ce4dd21cba"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::<a class="el" href="structgbmath_1_1color3.html">color3</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00029">29</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6c0b9e287cb5bc81ed2e04ca5290e58f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::<a class="el" href="structgbmath_1_1color3.html">color3</a> </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>_r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>_g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00036">36</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="abfe647fb8f2067f3ccdfd4f927030a29"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::adjust_contrast </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>k</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>изменить контраст </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00308">308</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad5e570f861819fc2824df3d8542351c5"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::adjust_saturation </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>k</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>изменить насыщенность </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00329">329</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad187aba58460419d2c674079d035c8c2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::adjusted_contrast </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>k</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>получить цвет с изменённым контрастом </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00319">319</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab28ec14ca277bd96c8a79ac2f3da9b54"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::adjusted_saturation </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>k</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00338">338</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeec1a85bb7d4242416f72cd7f9d31644"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::average </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Установить как средний цвет между this и col . </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00288">288</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a155f2664526866a926ffac4f2e5379bf"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::averaged </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>col</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>как средний цвет между this и col . </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00298">298</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4c39bd07a259f56fd1e70db43da23a26"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::empty </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>проверка каждый компонент ноль : XXX ????? need replace : is_zero. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00207">207</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5f3d21d40412ca5e62fb8a492bbc4de4"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::init </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>_r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>_g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00198">198</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0ef5839930b2b97d9a01fe1fa0a0ec94"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::lerp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>k</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>линейная интерполяция между this и color по коэф. k. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00222">222</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a49f344e8cdc958e026e742ba8455f540"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::modulate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Масштабирование цвета. Изменение яркости. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00234">234</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2776f30654b796160a27c5193bc65ce2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::modulated </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>вернутб масштабирование цвета. Изменение яркости. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00243">243</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3ca7256b258bd17d1b467df3cfb0c61f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::negative </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Негатив. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00253">253</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4d28dbaf533e4045d28d2e57b44152bc"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::negatived </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Негатив. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00262">262</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac7b7f14c14a6428351b0b8a04715f343"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator const T * </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00044">44</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0d8811d51d1768f4fe6683e188e517fe"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator T * </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00043">43</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4e4878f69e4655800fb7493b9ecc981a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00053">53</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a02b2bf91697969fb61af8450da3ead10"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00179">179</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="af29ce76fdeeb2fd4e971b9af7fe9c69b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00188">188</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae2d984c3c712c147b8df3b9652757fe4"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator*= </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>s</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00058">58</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae56899e19400d4741fbc6fb2d1dde85e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator*= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00066">66</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5bba711e1340a9107c04eb349112f0d0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00122">122</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac6bfef16d36e7a688d5dad771d773500"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00131">131</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac88b40c4448447617c67f6b9cde574dc"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator+= </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>s</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00090">90</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a570fafea4fedb97adc1f977515457f1f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00098">98</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="af0b252940b3900cbc4f4c8a22a002362"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00141">141</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a76b35ec952dd577d419fb0e54f170459"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00150">150</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="abb7970e88b01847bab4d96e8d811a43c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator-= </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>s</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00106">106</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a44de6fa43fd322c87f0a7f540cd3caa7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00114">114</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa5a8957d4d2d8980c16e32fdd5b539eb"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator/ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00160">160</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad8cac835bfcef678ac37d72f28745e29"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator/ </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00169">169</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a942cfa54326c7bac46355fc0e454315e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator/= </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>s</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00074">74</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9d62223e4f1520567b797437cc69ec5d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator/= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00082">82</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1cc68ffcd44ceeb31433eea91f53740e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00048">48</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a543c746acb41530eb150b7e348aa9348"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::saturate </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Отсечение значений в пределах 0.0 ... 1.0. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00271">271</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="afa4e278848eb292a5dc1e09786e71756"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::saturated </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Отсечение значений в пределах 0.0 ... 1.0. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00280">280</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6b6a5d87e95599017b898b4698a92325"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::set_black </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Установить чёрный цвет </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00353">353</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a78354657610648fc4727048752de562d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt;T&gt;&amp; <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::set_white </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Установить белый цвет </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00346">346</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4fd6496299a47a1cc4ce055ef0da435a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::setzero </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>занулить каждый компонент. need: set_zero. </p>

<p>Definition at line <a class="el" href="color3_8h_source.html#l00214">214</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a4c1cab73bff15832c70615131920db78"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00363">363</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3b564994aff511874731f2dfd3e4ce3b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostringstream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostringstream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00375">375</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="acc414cead420f96754819749e9dcfbc1"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::istream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00369">369</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a47bc9019c5f5757fdd129da04508929b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::stringstream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::stringstream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structgbmath_1_1color3.html">color3</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::invalid_argument</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00386">386</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a1fa2594b4bbebc4efea2831bf88dd70a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::b</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00021">21</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4769e1d5eb6b0c5ed75e404643c3c105"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::g</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00021">21</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4334237f7470c37229a375a83c52b733"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="structgbmath_1_1color3.html">gbmath::color3</a>&lt; T &gt;::r</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color3_8h_source.html#l00021">21</a> of file <a class="el" href="color3_8h_source.html">color3.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="color3_8h_source.html">color3.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
